{#
  This Source Code Form is subject to the terms of the Mozilla Public
  License, v. 2.0. If a copy of the MPL was not distributed with this
  file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% if LANG == 'fr' %}
  {% set donate_cta = "Faire un don à la Fondation Mozilla" %}
{% elif LANG == 'de' %}
  {% set donate_cta = "Spende an die Mozilla Foundation" %}
{% elif LANG == 'es-ES' %}
  {% set donate_cta = "Donar a la Fundación Mozilla" %}
{% elif LANG == 'it' %}
  {% set donate_cta = "Dona alla Mozilla Foundation" %}
{% elif LANG == 'pl' %}
  {% set donate_cta = "Wesprzyj Fundację Mozilli darowizną" %}
{% else %}
  {% set donate_cta = ftl('whatsnew-donate-to-mofo-v2') %}
{% endif %}

<div class="wnp-donate-wrapper mzp-u-centered">
  <a class="mzp-c-button mzp-t-secondary mzp-t-md wnp-footer-donate" href="{% if cta_location %}{{ donate_url(location=cta_location) }}{% else %}{{ donate_url(location='whats-new-product') }}{% endif %}" data-link-text="Donate">
    <span class="mzp-c-button-icon-start">
      <svg width="16" height="16" viewBox="0 0 16 16">
        <path fill="#ff0000" d="M1.2,2.2c-1.5,1.5-1.5,4.2,0,5.7L8,15c2.3-2.4,4.5-4.7,6.9-7c1.5-1.5,1.5-4.2,0-5.7c-1.5-1.5-4-1.5-5.6,0L8,3.5 L6.7,2.3C5.1,0.6,2.7,0.6,1.2,2.2"/>
      </svg>
    </span>
    {{ donate_cta }}
  </a>
</div>
